<template>
    <ul>
        <li><RouterLink :to="{name:'news-details'}">新闻1</RouterLink></li>
        <li><RouterLinK to="/news/detail">新闻2</RouterLinK></li>
        <li>新闻3</li>
    </ul>
    <RouterView></RouterView>
</template>
<script>
import { RouterLink, RouterView } from 'vue-router';

</script>
<style >
    
</style>